//TODO: Licence block here
//Released as Public Domain

//Parses DMAP code in js objects, and stringifys js objects

//object structure should be:
//an object, where each field is a 4 letter code. That field contains a string, a number, or another object to be formatted


//before using, the DMAP mappings must be loaded, this is done with the loadMappings function.
//this takes an object which contains fields whose names are 4 letter codes, each field is an object with a 'type' enum parameter
//and a 'name' parameter giving the long name of the code
//'type' can be one of the following: string, byte, short, int, long, version, list

let EXPORTED_SYMBOLS = ["DMAP"];

function DMAP(mappings)
{
	this._mappings = mappings;
}

DMAP.prototype
{
	_mappings: {}
}